Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW Use Bootstrap alerts throughout the CMS #643

Merged

Conversation

robbieaverill
Copy link
Contributor

@robbieaverill robbieaverill commented Sep 13, 2018

This adds an extension which provides SilverStripe message types to templates as Bootstrap alert types, and implements them in all of the admin templates that use $MessageType

Issue: silverstripe/silverstripe-framework#5674

Requires silverstripe/silverstripe-framework#8377 to merged for Behat to pass

@kinglozzer
Copy link
Member

Just checked this out, looks good in general. I’d remove the bottom margin when used as a form field error, and possibly add some space above?

screenshot 2018-10-11 at 12 07 05

Copy link
Member

@kinglozzer kinglozzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment doesn’t block merge

@robbieaverill
Copy link
Contributor Author

Do you think we should merge this in before 4.3 stabilises, or merge in as an early 4.4 enhancement?

@kinglozzer
Copy link
Member

This isn’t a hugely intrusive change, given that the styles are so similar to what we already have, plus it only affects CMS form templates... I’d be comfortable merging this in time for 4.3

@unclecheese unclecheese changed the base branch from 1 to 1.3 October 16, 2018 01:28
@unclecheese
Copy link

Looks good for 4.3. Have retargeted to 1.3 branch.

@robbieaverill robbieaverill changed the base branch from 1.3 to 1 October 19, 2018 14:11
@robbieaverill
Copy link
Contributor Author

We missed feature freeze cutoff day (19th Oct NZST) so I've switched this to 1 for the next release (SilverStripe 4.4)

@robbieaverill
Copy link
Contributor Author

Builds restarted

@robbieaverill robbieaverill force-pushed the pulls/4.3/bootstrap-alerts branch from b381610 to f11cd44 Compare November 9, 2018 12:43
@robbieaverill
Copy link
Contributor Author

Self merging with @kinglozzer's approval

@robbieaverill robbieaverill merged commit 58fab47 into silverstripe:1 Nov 9, 2018
@robbieaverill robbieaverill deleted the pulls/4.3/bootstrap-alerts branch November 9, 2018 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants